package org.csu.mypetstore.persistence;


import org.csu.mypetstore.domain.Account;

import java.util.List;

public interface AccountDao {
    Account getAccountByUsername(String s) throws Exception;
    Account getAccountByUsernameAndPassword(Account account);
    void insertAccount(Account account);
    void insertProfile(Account account);
    void insertSignOn(Account account);
    void updateAccount(Account account,String s);
    void updateProfile(Account account);
    void updateSignOn(Account account);
    void getStatus();
    void updateUsername(String s);
    void updateCartUsername(Account account,String s);


}
